package br.ufpe.cin.dsoa.qos.service.registry.activator;

import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

import br.ufpe.cin.dsoa.qos.service.registry.QosServiceRegistry;
import br.ufpe.cin.dsoa.qos.service.registry.impl.QosServiceRegistryImpl;

public class Activator implements BundleActivator{

	private BundleContext bundleContext;
	
	@Override
	public void start(BundleContext context) throws Exception {
		this.bundleContext = context;
		this.bundleContext.registerService(QosServiceRegistry.class.getName(), new QosServiceRegistryImpl(), null);
	}

	@Override
	public void stop(BundleContext context) throws Exception {
		// TODO Auto-generated method stub
		
	}

}